<?php
	include_once("checkAuthenticationAction.php");
	include_once("../util/constant.php");	
    include_once("../service/branchService.php");
	$id = isset($_GET["id"]) ? $_GET["id"] : 0;
	if($id > 0){
		deleteBranch($id);
	}
	
	echo "<script>window.location.href='../admin/branch.php';</script>";
?>